package com.nuc.workflowserver.model.pojo;

import com.nuc.workflowserver.common.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 工作量
 */
@Data
@NoArgsConstructor
public class Work extends BaseEntity {

    @ApiModelProperty("工作量id")
    private String id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("审核评语")
    private String checkInfo;

    @ApiModelProperty("工作量")
    private Integer workCount;

    @ApiModelProperty("工作时间")
    private Date workTime;

    @ApiModelProperty("工作时间字符串类型，用于前端格式化显示")
    private String workTimeStr;

    @ApiModelProperty("工作状态id 1 经理审核中，2 审核通过，3 审核驳回")
    private String workStateId;

    @ApiModelProperty("明天计划")
    private String nextDayPlan;

    @ApiModelProperty("工作内容")
    private String workContext;
}
